package flc.ast.utils;

import android.webkit.MimeTypeMap;
 
public class VideoUtils {
 
    public static boolean isVideoFile(String filePath) {
        String mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(
                MimeTypeMap.getFileExtensionFromUrl(filePath));
        return mimeType != null && mimeType.startsWith("video/");
    }
}
